﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmployeeWorkRptQuery.aspx.cs" Inherits="WMS6.Web.Analytics.EmployeeWorkRptQuery" meta:resourcekey="PageResource1" %>
<%@ Register src="../UserControls/MultipleSelectControl.ascx" tagname="MultipleSelectControl" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>EmployeeWorkRptQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>
    <link href="../Js/JqueryPlugin/jquery.multiselect.css" rel="stylesheet" type="text/css" />
    <link href="../Js/JqueryPlugin/jquery.ui.css" rel="stylesheet" type="text/css" />
    <script src="../Js/JqueryPlugin/jquery.multiselect.min.js" type="text/javascript"></script>   

    <base target="_self" />

    <script language="javascript" type="text/javascript" event="onclick" for="document">

			hiddenCalendarDiv();

    </script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function() {

            var actionID = window.dialogArguments;
            if (actionID != "" && actionID != null) {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0], array[1]);
            }
            else {
                initQueryPage();
            }
        }

        //窗口大小改变时触发的事件
        window.onresize = function() {
            autoResizeQueryDiv("div_query");
        }
        
        //弹出窗口选择货主
        function selectEmployee()
        {
            var rtnValue = popModalWindow('../Configuration/EmployeeQuery.aspx?type=Storeman&action=txtEmployeeID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtEmployeeID").focus();
                document.getElementById("txtEmployeeID").value = rtnValue;
            }
        }        
       
    </script>

    <style type="text/css">
        .style2
        {
            width: 30px;
        }
    </style>

</head>
<body>
    <form id="F15680" runat="server">
    <div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL">
                </div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblQuery" runat="server" Text="查询条件" CssClass="hover" meta:resourcekey="lblQuery"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR">
                </div>
            </div>
        </div>
        <div id="div_query">
            <table width="580px" cellpadding="0" cellspacing="0">
                <tr>
                    <td  style="width:180px">
                        <asp:Label CssClass="label" ID="lblInvoiceID" runat="server" Text="保管员" 
                            meta:resourcekey="lblInvoiceID"></asp:Label>
                    </td>
                    <td  class="style2">
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtEmployeeID" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtEmployeeID"></asp:TextBox>
                            <img src="../Images/icon_find.gif" id="imgStoreMan" runat="server" alt="select one item"
                                        class="img" onclick="selectEmployee();" /> 
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlEmployeeIDOper" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlEmployeeIDOper">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr> 
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblStartDate" runat="server" Text="开始日期"
                            meta:resourcekey="lblStartDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtStartDate" runat="server" CssClass="textbox" meta:resourcekey="txtStartDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtStartDate)" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                        <div style="display: none;" id="div1">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblEndDate" runat="server" Text="结束日期"
                            meta:resourcekey="lblEndDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtEndDate" runat="server" CssClass="textbox" meta:resourcekey="txtEndDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtEndDate)" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style="height:10px;">
                    <td>
                   
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>      

                
            </table>
        </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$ Resources:ButtonResource,btnSearch %>"
                            Enabled="False" CssClass="button" OnClick="btnSearch_Click" 
                            meta:resourcekey="btnSearchResource1" />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
    </div>
    </form>
</body>
</html>